package cn.lanchengkeji.datafillingsystem.service.impl;


import cn.lanchengkeji.datafillingsystem.entity.UserRole;
import cn.lanchengkeji.datafillingsystem.mapper.UserRoleMapper;
import cn.lanchengkeji.datafillingsystem.service.IUserRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户角色关联 服务实现类
 * </p>
 *
 * @author Yixu
 * @since 2018-11-29
 */
@Service
public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements IUserRoleService {

    @Override
    public List<UserRole> getByRoleId(Integer roleId) {
        return baseMapper.getByRoleId(roleId);
    }
}
